//
//  UserModel.h
//  GC_OC
//
//  Created by Tianbao Wang on 2022/5/27.
//

#import <Foundation/Foundation.h>
#import "JSONModel.h"
#import "FKCollect.h"
NS_ASSUME_NONNULL_BEGIN

@interface UserInfoModel : JSONModel
@property (nonatomic, strong) NSString *avatar;
//@property (nonatomic, strong) NSString *createtime;
@property (nonatomic, strong) NSString *expires_in;
@property (nonatomic, strong) NSString *expiretime;
@property (nonatomic, strong) NSString *group_id;
@property (nonatomic, strong) NSString *id;
@property (nonatomic, strong) NSString *mobile;
@property (nonatomic, strong) NSString *nickname;
@property (nonatomic, strong) NSString *score;
@property (nonatomic, strong) NSString *token;
@property (nonatomic, strong) NSString *user_id;
@property (nonatomic, strong) NSString *username;
@property (nonatomic, strong) NSString *jointime;
@property (nonatomic, strong) NSString *endtime; // 到期时间
@property (nonatomic, strong) NSString *logintime; // 近期登录时间

@end

@interface UserVipInfoModel : JSONModel
@property (nonatomic, strong) NSString *expiredate;
@property (nonatomic, strong) NSString *image;
@property (nonatomic, strong) NSString *level;
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *remainseconds;


@end

@interface UserModel : JSONModel
@property (nonatomic, strong) UserInfoModel *userinfo;
@property (nonatomic, strong) UserVipInfoModel *vipInfo;
@property (nonatomic, strong) NSArray<FKCollect *> *collect;

@end

NS_ASSUME_NONNULL_END
